package work.comeback.omo.util.demo;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

// Logger interface
interface ILogger {
    Logger getLogger(Class<?> clazz);
}

public class LoggerUtil {
    public static Logger getLogger(Class<?> clazz) {
        return LoggerFactory.getLogger(clazz);
    }

    public static void main(String[] args) {
        Logger logger = LoggerUtil.getLogger(LoggerUtil.class);

        logger.info("Hello World!");
        logger.warn("Hello World!");
        logger.error("Hello World!");
    }
}
